﻿<%@ Page Language="c#" CodeBehind="changesfinish.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="ud_gSDMS.project.changesfinish" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" >
</asp:Content>
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">


<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper gSDMS">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class="modulecontent">
        <fieldset>
<%--            <asp:UpdatePanel ID='updatePanel' runat="server" >
                <ContentTemplate>--%>
                 <%--<mp:SiteLabel ID="lblInfo" CssClass="title info" runat="server" ResourceFile="gSDMSResource" ConfigKey="gSDMSHostingPackage" />--%>
                <%--<div class="div_title">
                    <a href="/gsdmsmodule/project/plan.aspx?pageid=16">Project</a>
                    &nbsp;>&nbsp;
                    <a href="">PLANNING DETAIL</a>
                </div>--%>
                <div class="div_Edit">
             <table cellpadding='3' cellspacing='0' border='0' width='auto' class="tb_edit">
               <tr >
                    <td colspan="8">
                         <table cellpadding=0 cellspacing=0 border=0>
                             <tr class="div_title_parent">
                               <td class="div_title div_title_group">PROJECT INFORMATION:</td>
                             </tr>
                        </table>
                     </td>
              </tr> 
                <tr>
                <td class="title">Project code:</td>
                <td class="input">
                <asp:HiddenField ID="hidId" runat="server" />
                <asp:HiddenField ID="hidCreatedOn" runat="server" />
                <asp:TextBox ID="txtProject_Code" runat="server" CssClass="txtInput" Width="200px"></asp:TextBox> 
                </td>
                <td class="title">Project name:</td>
                <td class="input" colspan="3">
                <asp:TextBox ID="txtProject_name" runat="server" CssClass="txtInput" Width="331px"></asp:TextBox>
                </td>
                                    
            </tr>
            <tr>
                <td class="title">Project leader:</td>
                <td class="input">
                <telerik:RadComboBox ID="cboProject_leader" AllowCustomText="true" runat="server" CssClass ="cbo_rad" Width="100px" EmptyMessage="" Filter="Contains"></telerik:RadComboBox>
                 </td>
                <td class="title">Man Day:</td>
                <td class="input"><asp:TextBox ID="txtMan_day" runat="server" CssClass="txtInput txtdate" MaxLength="10" Width="50px"></asp:TextBox></td>
                <td class="title">Status:</td>
                <td class="input">
                    <telerik:RadComboBox ID="cboWorkStatus" AllowCustomText="true" runat="server" CssClass ="cbo_rad" Width="80px" EmptyMessage="" Filter="Contains" ToolTip="Please transition project...">
                    </telerik:RadComboBox>
                     <asp:RequiredFieldValidator ControlToValidate="cboWorkStatus" SetFocusOnError="true" ErrorMessage="***" Display="Dynamic" ID="RequiredFieldValidStatus" runat="server" ValidationGroup="111"></asp:RequiredFieldValidator>
                 </td>   
                <td></td>
            </tr>
            <tr>
                <td class="title">Kickoff date:</td>
                    <td class="input"><asp:TextBox ID="datKickoff_Date" runat="server" CssClass="txtInput txtdate" MaxLength="10" Width="90px"></asp:TextBox></td>
                  <td class="title">End date:</td>
                 <td class="input"> <asp:TextBox ID="datEnd_Date" runat="server" CssClass="txtInput txtdate" MaxLength="10" Width="90px"></asp:TextBox></td>
                 <td class="title">Finish Date:</td>
                              <td class="input" colspan="3">
                                    <telerik:RadDatePicker ID="datFinish_Date" runat="server" 
                                        DateInput-DateFormat="dd/MM/yyyy" DateInput-CssClass="txtInput" DateInput-MaxLength="10" Width="100px" Height="18px"
                                        DatePopupButton-Width="23px" DatePopupButton-Height="23px" >
                                    <Calendar>
                                      <%--  <SpecialDays>
                                            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday" />
                                        </SpecialDays>--%>
                                    </Calendar>
                                </telerik:RadDatePicker>
                                <span class="star">(*)</span>
                                <span class='span_note'>(dd/MM/yyyy)</span>
                                <asp:RequiredFieldValidator ControlToValidate="datFinish_Date" SetFocusOnError="true" ErrorMessage="***" Display="Dynamic" ID="RequiredFieldValidator2" runat="server" ValidationGroup="111" ></asp:RequiredFieldValidator>
                            </td>
            </tr>
            <tr>
                <td class="title">Member List: </td>
                 <td colspan="3">
                            <%-- cho nay la Memberlist hien thi mot gridview de xemn--%>
                                <asp:UpdatePanel ID="updatePanner1" runat="server"  >
                                        <ContentTemplate>
                                             <table >
                                              <tr>
                                                <td class="gSDMS_Grid">
                                                <asp:GridView ID="grdMember" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" 
                                                     AllowSorting="true" AutoGenerateColumns="false"  PagerSettings-Position="Bottom" PagerStyle-HorizontalAlign="Right"
                                                    CssClass="css_grid" DataKeyNames="Project_ID">
                                                            <AlternatingRowStyle CssClass='AlternatingRowStyle' />
                                                            <EditRowStyle CssClass='EditRowStyle' />
                                                            <FooterStyle CssClass='FooterStyle' />
                                                            <HeaderStyle CssClass='HeaderStyle' />
                                                            <PagerStyle CssClass='PagerStyle' HorizontalAlign="Right" />
                                                            <RowStyle CssClass='RowStyle' />
                                                            <SelectedRowStyle CssClass='SelectedRowStyle' />
                                                            <Columns >
                                                                <asp:TemplateField HeaderText="STT" ItemStyle-CssClass="stt">
                                                                    <ItemTemplate><%# grdMember.PageIndex * grdMember.PageSize + grdMember.Rows.Count + 1%></ItemTemplate></asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Member" ItemStyle-CssClass="txtusername" HeaderStyle-Width="100px">
                                                                    <ItemTemplate><%#Eval("LoginName")%></ItemTemplate></asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Full Name" ItemStyle-CssClass="txtProjectCode">
                                                                    <ItemTemplate><%#Eval("Name") %></ItemTemplate></asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Role" ItemStyle-CssClass="txtRose" >
                                                                    <ItemTemplate><%#Eval("name2")%></ItemTemplate>
                                                                </asp:TemplateField>
                                                             </Columns>
                                                        </asp:GridView>
                                                    </td>
                                                </tr>
                                      </table>
                                      <br/>                                     
                                </ContentTemplate>
                                </asp:UpdatePanel>                         
                           </td>
                <td class="style4">
                    &nbsp;</td>
            </tr>
           
           
          <tr class="tr_action">
              <td class="title"></td>
                <td>
                  <asp:Button ID='btnSave' runat="server" CssClass="btn_01 btn_save" Text="Save" ValidationGroup="111" ToolTip="Please to change..."/>                                
                  <a href="/gsdmsmodule/project/manage.aspx?pageid=29" class="go_back" runat="server" id="lnkGoback">Go back</a>
                 </td>
            </tr>
           <tr>
                <td class="title"></td>
                <td class="input"><asp:Label ID="lblMes" runat="server" Visible="false" CssClass="lblMes"></asp:Label></td>
           </tr>
         </table>
       </div>
     </fieldset>
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" 
    runat="server" >
</asp:Content>
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
